//
//  YZMTradeSTDetailModel.h
//  YZMicroStock
//
//  Created by wangminhong on 16/4/14.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import "Mantle.h"

@interface YZMTradeSTDetailModel : MTLModel<MTLJSONSerializing>

@property (nonatomic, assign) double buyPriceDeal;/*买入价格*/
@property (nonatomic, assign) double sellPriceDeal;/*卖出价格*/
@property (nonatomic, strong) NSDate *closeTime;
@property (nonatomic, strong) NSDate *dealTime;
@property (nonatomic, assign) double deferCharge;/*手续费*/
@property (nonatomic, assign) NSInteger holdDays;
@property (nonatomic, assign) long long tid;
@property (nonatomic, assign) long long investorUserId;
@property (nonatomic, strong) NSString *investorUsername;

@property (nonatomic, strong) NSString *investorUserName;

@property (nonatomic, assign) double money;
@property (nonatomic, assign) double profitShare;
@property (nonatomic, assign) double profitTotal;
@property (nonatomic, assign) double quitLoss;

@property (nonatomic, assign) double serviceCharge;
@property (nonatomic, strong) NSString *stockCode;
@property (nonatomic, strong) NSString *stockName;
@property (nonatomic, assign) long long userId;
@property (nonatomic, strong) NSString *username;
@property (nonatomic, assign) NSInteger volumeDeal;

@property (nonatomic, assign) double lossPrincipal; /*冻结保证金*/


@property (nonatomic, assign) NSInteger holdNum;

@property (nonatomic, strong) NSDate *liquidateTime;

@property (nonatomic, strong) NSNumber *profitFreeEx;

@property (nonatomic, strong) NSNumber *realBuyPrice;

@property (nonatomic, strong) NSNumber *realSellPrice;

@property (nonatomic, strong) NSDate *realSellTime;

@property (nonatomic, assign) long long strategyId;

@property (nonatomic, strong) NSString *userName;

@property (nonatomic, strong) NSNumber *userProfit;

@property (nonatomic, strong) NSNumber *holdvalue;

@property (nonatomic, strong) NSDate *realBuyTime;








@end
